#ifndef VIEW_H
#define VIEW_H

#include <QSharedPointer>
#include "Observer_I.h"
#include "Abstractcontroller.h"
#include "Myobject.h"

using namespace mvc;

class View : public Observer_I<double>, public MyObject
    {
        typedef QSharedPointer<AbstractController<double> > AbstractControllerPtr;
    private:
        AbstractControllerPtr m_ptrController;

    public:
        View(AbstractControllerPtr &);
        virtual ~View();
        void update(double before, double after);
        void c();
        void click(double);
    };

#endif // VIEW_H
